<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>v-cloak</title>
    <style type="text/css">
        [v-cloak]{
            display: none;
        }
    </style>
</head>
<body>
    <div id="app">
        <p v-cloak>{{msg}}</p>
    </div>
</body>
<script src="../js/vue.js"></script>
<script>
    let app = new Vue({
        el:'#app',
        data:{
            msg:'你好'
        }
    })
</script>
</html>